Skip to content

Conversation

@qburke
Copy link
Contributor

@qburke qburke commented Dec 24, 2025

Summary

Added documentation examples for four boolean tensor operations in burn-tensor:

  • bool_not - Boolean inversion
  • bool_and - Logical AND operation
  • bool_or - Logical OR operation
  • bool_xor - Logical XOR operation

Changes

Added doc examples with:

  • Clear descriptions of what each operation does
  • Arguments and Returns sections
  • Code examples
  • Expected output in comments

Contributes to #2450

Added documentation examples for:
- bool_not
- bool_and
- bool_or
- bool_xor

Contributes to tracel-ai#2450
@codecov
Copy link

codecov bot commented Dec 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.89%. Comparing base (91dd62c) to head (05de0a4).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4248      +/-   ##
==========================================
- Coverage   68.96%   68.89%   -0.08%     
==========================================
  Files        1346     1411      +65     
  Lines      165578   166273     +695     
==========================================
+ Hits       114192   114552     +360     
- Misses      51386    51721     +335     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@laggui laggui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing documentation 🙏

Minor comment on formatting, otherwise LGTM

@qburke qburke requested a review from laggui January 4, 2026 19:05
Copy link
Member

@laggui laggui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@laggui laggui merged commit ab96043 into tracel-ai:main Jan 5, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants